package edu.hitsz.prop;

import edu.hitsz.aircraft.HeroAircraft;
import edu.hitsz.shoot.ShootThread;

public class PropBullet extends Prop{
    public PropBullet(int locationX, int locationY, int speedX, int speedY){
        super(locationX, locationY, speedX, speedY);
    }

    public void effect(HeroAircraft heroAircraft){
        ShootThread shootThread = new ShootThread(2);
        new Thread(shootThread, "2").start();
        System.out.println("BombSupply active!\n");
    }
}
